home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / belltst2.lzh / BELLTSTR.C < prev   
Text File  |  1990-04-05  |  5KB  |  114 lines

  1. static char p_to_nul[1] = "";
  2.  
  3. TEDINFO rs_tedinfo[] = {
  4.   {"(With current speed)", p_to_nul, p_to_nul,
  5.      5,   0,   0, 4481,   0,   0,  21,   1},
  6.   {"Lemperle-Kerr", p_to_nul, p_to_nul,
  7.      5,   0,   0, 4481,   0,   0,  14,   1},
  8.   {"by Gregory Mathias", p_to_nul, p_to_nul,
  9.      5,   0,   0, 4481,   0,   0,  19,   1}
  10. };
  11.  
  12. ICONBLK rs_iconblk[] = {
  13.   0L
  14. };
  15.  
  16. int bbk000[] = {
  17.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  18.   0x0000,0x0000,0x1fff,0xfffc,0x1000,0x0004,0x1003,0xe004,
  19.   0x1004,0x1014,0x1408,0x0814,0x1410,0x0414,0x1420,0x0214,
  20.   0x1421,0xc214,0x1423,0xe204,0x1023,0xe204,0x1023,0xe204,
  21.   0x1021,0xc204,0x1020,0x0204,0x1010,0x0404,0x1008,0x0804,
  22.   0x1004,0x1004,0x1003,0xe004,0x1000,0x0004,0x1000,0x0004,
  23.   0x1000,0x0004,0x1000,0x0004,0x1000,0x0004,0x103f,0xfe04,
  24.   0x1040,0x0104,0x1080,0x0084,0x1100,0x0044,0x1200,0x0024,
  25.   0x120f,0xf824,0x1210,0x0424,0x1220,0x0224,0x1240,0x0124,
  26.   0x1240,0x0124,0x1240,0x0124,0x1241,0xc124,0x1241,0xc124,
  27.   0x1243,0xe124,0x1243,0xe124,0x1243,0xe124,0x1243,0xe124,
  28.   0x1243,0xe124,0x1241,0xc124,0x1241,0xc124,0x1240,0x0124,
  29.   0x1240,0x0124,0x1240,0x0124,0x1220,0x0224,0x1210,0x0424,
  30.   0x120f,0xf824,0x1100,0x0044,0x1480,0x0094,0x1440,0x0114,
  31.   0x143f,0xfe14,0x1400,0x0014,0x1000,0x0004,0x1000,0x0004,
  32.   0x1fff,0xfffc,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
  33. };
  34.  
  35. int bbk001[] = {
  36.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  37.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  38.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  39.   0x0000,0x0000,0x0000,0x0000,0x00ff,0xf800,0x0200,0x0004,
  40.   0x0000,0x0000,0x0000,0x0180,0x0800,0x0d80,0x8004,0x0000,
  41.   0x000c,0x0000,0x0140,0x1800,0x08c1,0xc004,0x0000,0x0004,
  42.   0x0000,0x01c1,0xe000,0x0841,0x61c4,0xc000,0x0004,0x0000,
  43.   0x00de,0x0000,0x0841,0x907f,0x0000,0x00c6,0x0000,0x0067,
  44.   0xe000,0x0840,0x900c,0x0000,0x003f,0xf800,0x0060,0x300f,
  45.   0x0c40,0x900c,0x0002,0x0002,0x0000,0x0020,0x1809,0x8440,
  46.   0x9008,0x0783,0x8002,0x0000,0x0020,0x0810,0xc440,0x9018,
  47.   0x0481,0x7006,0x0000,0x0020,0x0819,0x8680,0xa01c,0x0481,
  48.   0x180e,0x0000,0x003c,0x09ff,0x0380,0xc037,0x0681,0x081b,
  49.   0x0000,0x0003,0xf803,0xcf81,0xc061,0xe302,0x08f1,0xc000,
  50.   0x0000,0x0000,0x70e7,0x71c0,0x3fff,0xff80,0x3e00,0x0000,
  51.   0x0000,0x003c,0x1e00,0x0000,0x0000,0x0000,0x0000,0x0000,
  52.   0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  53.   0x0000,0x0000,0x0000,0x0000,0x0000,0x01f8,0x007f,0x8000,
  54.   0x0000,0x0000,0x0000,0x0000,0x060c,0x00c0,0xe000,0x0000,
  55.   0x0000,0x0000,0x0000,0x000c,0x0080,0x3000,0x0000,0x0000,
  56.   0x0000,0x0000,0x0030,0x0080,0x1000,0x0000,0x0000,0x0000,
  57.   0x0000,0x00c0,0x00c0,0x1000,0x0000,0x0000,0x0000,0x0000,
  58.   0x07f1,0x8060,0x3000,0x0000,0x0000,0x0000,0x0000,0x0f1f,
  59.   0x103f,0xc000,0x0000,0x0000,0x0000,0x0000,0x0006,0x0000,
  60.   0x0000,0x0000,0x0000,0x0000
  61. };
  62.  
  63. BITBLK rs_bitblk[] = {
  64.   {bbk000,  0x0004, 0x0040, 0x0000, 0x0000, 0x0001},
  65.   {bbk001,  0x000e, 0x001c, 0x0000, 0x0000, 0x0001}
  66. };
  67.  
  68. OBJECT rs_object[] = {
  69.   /* Tree #0*/
  70.   {  -1,   1,   1,0x0014,0x0000,0x0000, 0x001011e1L, 769,2560,  47,2065},
  71.   {   0,   2,  20,0x0014,0x0000,0x0020, 0x00031181L,1028,   2,1062,2061},
  72.   {   3,  -1,  -1,0x001a,0x0005,0x0000, (long)"LOAD .SND",   2,   1,  11,2049},
  73.   {   4,  -1,  -1,0x001a,0x0005,0x0000, (long)"QUIT",   2,   6,  11,2049},
  74.   {   5,  -1,  -1,0x001a,0x0005,0x0000, (long)"SAVE .SND",   2,   3,  11,2049},
  75.   {  17,   6,  16,0x0014,0x0000,0x0000, 0x00011181L,  20,   1,  17,2059},
  76.   {   7,  -1,  -1,0x0017,0x0040,0x0000, (long)&rs_bitblk[0],   6,2048,1028,   4},
  77.   {  16,   8,  15,0x0014,0x0000,0x0000, 0x000111b1L, 769,   5,1038, 774},
  78.   {   9,  -1,  -1,0x001a,0x0011,0x0000, (long)"1",   1,2048,   2,2051},
  79.   {  10,  -1,  -1,0x001a,0x0011,0x0001, (long)"2",1027,2048,   2,2051},
  80.   {  11,  -1,  -1,0x001a,0x0011,0x0000, (long)"3",   6,2048,   2,2051},
  81.   {  12,  -1,  -1,0x001a,0x0011,0x0000, (long)"4",1032,2048,   2,2051},
  82.   {  13,  -1,  -1,0x001a,0x0011,0x0000, (long)"5",  11,2048,   2,2051},
  83.   {  14,  -1,  -1,0x001b,0x0040,0x0000, 0x03011181L,1546,1284, 770,2049},
  84.   {  15,  -1,  -1,0x001b,0x0040,0x0000, 0x04011181L,1792,1284, 770,2049},
  85.   {   7,  21,  21,0x0014,0x0000,0x0000, 0x000111c1L, 515,1284,1031,2049},
  86.   {   5,  -1,  -1,0x0019,0x0005,0x0000, 0x00011101L,1025,2048,  14,   4},
  87.   {  18,  -1,  -1,0x0015,0x0000,0x0000, (long)&rs_tedinfo[0],   2,2052,  15,   1},
  88.   {  19,  -1,  -1,0x0015,0x0000,0x0000, (long)&rs_tedinfo[1],1029,2059,1034,   1},
  89.   {  20,  -1,  -1,0x0017,0x0000,0x0000, (long)&rs_bitblk[1],   2,2056,1037,   2},
  90.   {   1,  -1,  -1,0x0015,0x0000,0x0000, (long)&rs_tedinfo[2],1025,2058,1038,   1},
  91.   {  15,  -1,  -1,0x0014,0x0020,0x0000, 0x00011181L, 259,   0, 513,1793}
  92. };
  93.  
  94. int rs_trloc[] = {0};
  95. OBJECT *rs_trindex[] = {
  96.   &rs_object[0]
  97. };
  98.  
  99. #define NUM_TI 3
  100. #define NUM_IB 0
  101. #define NUM_BB 2
  102. #define NUM_OBS 22
  103. #define NUM_TREE 1
  104.  
  105.  
  106. void fix_objects(void)
  107. {
  108.   register int i;
  109.  
  110.   for(i=0; i<NUM_OBS; i++)
  111.     rsrc_obfix(rs_object, i);
  112. }
  113.  
  114.